Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pytest-cov to 3.0.0 #105

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Oct 4, 2021

This PR updates pytest-cov from 2.12.1 to 3.0.0.

Changelog

3.0.0

-------------------

**Note that this release drops support for Python 2.7 and Python 3.5.**

* Added support for Python 3.10 and updated various test dependencies.
Contributed by Hugo van Kemenade in
`500 <https://github.com/pytest-dev/pytest-cov/pull/500>`_.
* Switched from Travis CI to GitHub Actions. Contributed by Hugo van Kemenade in
`494 <https://github.com/pytest-dev/pytest-cov/pull/494>`_ and
`495 <https://github.com/pytest-dev/pytest-cov/pull/495>`_.
* Add a ``--cov-reset`` CLI option.
Contributed by Danilo Šegan in
`459 <https://github.com/pytest-dev/pytest-cov/pull/459>`_.
* Improved validation of ``--cov-fail-under`` CLI option.
Contributed by ... Ronny Pfannschmidt's desire for skark in
`480 <https://github.com/pytest-dev/pytest-cov/pull/480>`_.
* Dropped Python 2.7 support.
Contributed by Thomas Grainger in
`488 <https://github.com/pytest-dev/pytest-cov/pull/488>`_.
* Updated trove classifiers. Contributed by Michał Bielawski in
`481 <https://github.com/pytest-dev/pytest-cov/pull/481>`_.

2.13.0

-------------------

* Changed the `toml` requirement to be always be directly required (instead of being required through a coverage extra).
This fixes issues with pip-compile (`pip-tools1300 <https://github.com/jazzband/pip-tools/issues/1300>`_).
Contributed by Sorin Sbarnea in `472 <https://github.com/pytest-dev/pytest-cov/pull/472>`_.
* Documented ``show_contexts``.
Contributed by Brian Rutledge in `473 <https://github.com/pytest-dev/pytest-cov/pull/473>`_.
Links

@aragilar
Copy link
Owner

bors r+

bors bot added a commit that referenced this pull request Oct 28, 2021
105: Update pytest-cov to 3.0.0 r=aragilar a=pyup-bot


This PR updates [pytest-cov](https://pypi.org/project/pytest-cov) from **2.12.1** to **3.0.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.0.0
   ```
   -------------------

**Note that this release drops support for Python 2.7 and Python 3.5.**

* Added support for Python 3.10 and updated various test dependencies.
  Contributed by Hugo van Kemenade in
  `500 &lt;https://github.com/pytest-dev/pytest-cov/pull/500&gt;`_.
* Switched from Travis CI to GitHub Actions. Contributed by Hugo van Kemenade in
  `494 &lt;https://github.com/pytest-dev/pytest-cov/pull/494&gt;`_ and
  `495 &lt;https://github.com/pytest-dev/pytest-cov/pull/495&gt;`_.
* Add a ``--cov-reset`` CLI option.
  Contributed by Danilo Šegan in
  `459 &lt;https://github.com/pytest-dev/pytest-cov/pull/459&gt;`_.
* Improved validation of ``--cov-fail-under`` CLI option.
  Contributed by ... Ronny Pfannschmidt&#39;s desire for skark in
  `480 &lt;https://github.com/pytest-dev/pytest-cov/pull/480&gt;`_.
* Dropped Python 2.7 support.
  Contributed by Thomas Grainger in
  `488 &lt;https://github.com/pytest-dev/pytest-cov/pull/488&gt;`_.
* Updated trove classifiers. Contributed by Michał Bielawski in
  `481 &lt;https://github.com/pytest-dev/pytest-cov/pull/481&gt;`_.
   ```
   
  
  
   ### 2.13.0
   ```
   -------------------

* Changed the `toml` requirement to be always be directly required (instead of being required through a coverage extra).
  This fixes issues with pip-compile (`pip-tools1300 &lt;https://github.com/jazzband/pip-tools/issues/1300&gt;`_).
  Contributed by Sorin Sbarnea in `472 &lt;https://github.com/pytest-dev/pytest-cov/pull/472&gt;`_.
* Documented ``show_contexts``.
  Contributed by Brian Rutledge in `473 &lt;https://github.com/pytest-dev/pytest-cov/pull/473&gt;`_.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-cov
  - Changelog: https://pyup.io/changelogs/pytest-cov/
  - Repo: https://github.com/pytest-dev/pytest-cov
</details>



108: Update astroid to 2.8.4 r=aragilar a=pyup-bot


This PR updates [astroid](https://pypi.org/project/astroid) from **2.6.6** to **2.8.4**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.8.4
   ```
   ============================
Release date: 2021-10-25

* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes.
  When these nodes occur in ``Arguments``, ``Keyword``  or ``Comprehension`` nodes these
  methods now correctly point to the outer-scope of the ``FunctionDef``,
  ``ClassDef``, or ``Comprehension``.

* Fix the ``set_local`` function for ``NamedExpr`` nodes.
  When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` nodes these
  nodes are now correctly added to the locals of the ``FunctionDef``,
  ``ClassDef``, or ``Comprehension``.
   ```
   
  
  
   ### 2.8.3
   ```
   ============================
Release date: 2021-10-17

* Add support for wrapt 1.13

* Fixes handling of nested partial functions

  Closes PyCQA/pylint2462
  Closes 1208

* Fix regression with the import resolver

  Closes PyCQA/pylint5131

* Fix crash with invalid dataclass field call

  Closes PyCQA/pylint5153
   ```
   
  
  
   ### 2.8.2
   ```
   ============================
Release date: 2021-10-07

Same content than 2.8.2-dev0 / 2.8.1, released in order to fix a
mistake when creating the tag.
   ```
   
  
  
   ### 2.8.1
   ```
   ============================
Release date: 2021-10-06

* Adds support of type hints inside numpy&#39;s brains.

  Closes PyCQA/pylint4326

* Enable inference of dataclass import from pydantic.dataclasses.
  This allows the dataclasses brain to recognize pydantic dataclasses.

  Closes PyCQA/pylint4899

* Fix regression on ClassDef inference

  Closes PyCQA/pylint5030
  Closes PyCQA/pylint5036

* Fix regression on Compare node inference

  Closes PyCQA/pylint5048

* Extended attrs brain to support the provisional APIs

* Astroid does not trigger it&#39;s own deprecation warning anymore.

* Improve brain for ``typing.Callable`` and ``typing.Type``.

* Fix bug with importing namespace packages with relative imports

  Closes PyCQA/pylint5059

* The ``is_typing_guard`` and ``is_sys_guard`` functions are deprecated and will
  be removed in 3.0.0. They are complex meta-inference functions that are better
  suited for pylint. Import them from ``pylint.checkers.utils`` instead
  (requires pylint ``2.12``).

* Suppress the conditional between applied brains and dynamic import authorized
  modules. (Revert the &quot;The transforms related to a module are applied only if this
  module has not been explicitly authorized to be imported&quot; of version 2.7.3)

* Adds a brain to infer the ``numpy.ma.masked_where`` function.

  Closes PyCQA/pylint3342
   ```
   
  
  
   ### 2.8.0
   ```
   ============================
Release date: 2021-09-14

* Add additional deprecation warnings in preparation for astroid 3.0

  * Require attributes for some node classes with ``__init__`` call.

    * ``name`` (``str``) for ``Name``, ``AssignName``, ``DelName``
    * ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``, ``DelAttr``
    * ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``, ``UnaryOp``
    * ``names`` (``list[tuple[str, str | None]]``) for ``Import``

* Support pyz imports

  Closes PyCQA/pylint3887

* Add ``node_ancestors`` method to ``NodeNG`` for obtaining the ancestors of nodes.

* It&#39;s now possible to infer the value of comparison nodes

  Closes 846

* Fixed bug in inference of dataclass field calls.

  Closes PyCQA/pylint4963
   ```
   
  
  
   ### 2.7.3
   ```
   ============================
Release date: 2021-08-30

* The transforms related to a module are applied only if this module has not been explicitly authorized to be imported
  (i.e is not in AstroidManager.extension_package_whitelist). Solves the following issues if numpy is authorized to be imported
  through the `extension-pkg-allow-list` option.

  Closes PyCQA/pylint3342
  Closes PyCQA/pylint4326

* Fixed bug in attribute inference from inside method calls.

    Closes PyCQA/pylint400

* Fixed bug in inference for superclass instance methods called
  from the class rather than an instance.

    Closes 1008
    Closes PyCQA/pylint4377

* Fixed bug in inference of chained attributes where a subclass
  had an attribute that was an instance of its superclass.

    Closes PyCQA/pylint4220

* Adds a brain for the ctypes module.

  Closes PyCQA/pylint4896

* When processing dataclass attributes, exclude the same type hints from abc.collections
  as from typing.

  Closes PyCQA/pylint4895

* Apply dataclass inference to pydantic&#39;s dataclasses.

  Closes PyCQA/pylint4899
   ```
   
  
  
   ### 2.7.2
   ```
   ============================
Release date: 2021-08-20

* ``BaseContainer`` is now public, and will replace ``_BaseContainer`` completely in astroid 3.0.
* The call cache used by inference functions produced by ``inference_tip``
  can now be cleared via ``clear_inference_tip_cache``.

* ``astroid.const.BUILTINS`` and ``astroid.bases.BUILTINS`` are not used internally anymore
  and will be removed in astroid 3.0. Simply replace this by the string &#39;builtins&#39; for better
  performances and clarity.

* Add inference for dataclass initializer method.

    Closes PyCQA/pylint3201
   ```
   
  
  
   ### 2.7.1
   ```
   ============================
Release date: 2021-08-16

* When processing dataclass attributes, only do typing inference on collection types.
  Support for instantiating other typing types is left for the future, if desired.

  Closes 1129

* Fixed LookupMixIn missing from ``astroid.node_classes``.
   ```
   
  
  
   ### 2.7.0
   ```
   ============================
Release date: 2021-08-15

* Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been deprecated in favor of
  ``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in astroid 3.0.0.

* Add support for arbitrary Enum subclass hierachies

  Closes PyCQA/pylint533
  Closes PyCQA/pylint2224
  Closes PyCQA/pylint2626

* Add inference tips for dataclass attributes, including dataclasses.field calls.
  Also add support for InitVar.

  Closes PyCQA/pylint2600
  Closes PyCQA/pylint2698
  Closes PyCQA/pylint3405
  Closes PyCQA/pylint3794

* Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class of the `unittest` module.

  Closes PyCQA/pylint4060
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/astroid
  - Changelog: https://pyup.io/changelogs/astroid/
  - Repo: https://github.com/PyCQA/astroid
</details>



Co-authored-by: pyup-bot <[email protected]>
@bors
Copy link
Contributor

bors bot commented Oct 28, 2021

Build failed (retrying...):

  • aragilar.stringtopy

@aragilar
Copy link
Owner

aragilar commented Feb 5, 2022

bors r+

bors bot added a commit that referenced this pull request Feb 5, 2022
105: Update pytest-cov to 3.0.0 r=aragilar a=pyup-bot


This PR updates [pytest-cov](https://pypi.org/project/pytest-cov) from **2.12.1** to **3.0.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.0.0
   ```
   -------------------

**Note that this release drops support for Python 2.7 and Python 3.5.**

* Added support for Python 3.10 and updated various test dependencies.
  Contributed by Hugo van Kemenade in
  `500 &lt;https://github.com/pytest-dev/pytest-cov/pull/500&gt;`_.
* Switched from Travis CI to GitHub Actions. Contributed by Hugo van Kemenade in
  `494 &lt;https://github.com/pytest-dev/pytest-cov/pull/494&gt;`_ and
  `495 &lt;https://github.com/pytest-dev/pytest-cov/pull/495&gt;`_.
* Add a ``--cov-reset`` CLI option.
  Contributed by Danilo Šegan in
  `459 &lt;https://github.com/pytest-dev/pytest-cov/pull/459&gt;`_.
* Improved validation of ``--cov-fail-under`` CLI option.
  Contributed by ... Ronny Pfannschmidt&#39;s desire for skark in
  `480 &lt;https://github.com/pytest-dev/pytest-cov/pull/480&gt;`_.
* Dropped Python 2.7 support.
  Contributed by Thomas Grainger in
  `488 &lt;https://github.com/pytest-dev/pytest-cov/pull/488&gt;`_.
* Updated trove classifiers. Contributed by Michał Bielawski in
  `481 &lt;https://github.com/pytest-dev/pytest-cov/pull/481&gt;`_.
   ```
   
  
  
   ### 2.13.0
   ```
   -------------------

* Changed the `toml` requirement to be always be directly required (instead of being required through a coverage extra).
  This fixes issues with pip-compile (`pip-tools1300 &lt;https://github.com/jazzband/pip-tools/issues/1300&gt;`_).
  Contributed by Sorin Sbarnea in `472 &lt;https://github.com/pytest-dev/pytest-cov/pull/472&gt;`_.
* Documented ``show_contexts``.
  Contributed by Brian Rutledge in `473 &lt;https://github.com/pytest-dev/pytest-cov/pull/473&gt;`_.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-cov
  - Changelog: https://pyup.io/changelogs/pytest-cov/
  - Repo: https://github.com/pytest-dev/pytest-cov
</details>



Co-authored-by: pyup-bot <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 5, 2022

Build failed:

  • aragilar.stringtopy

@aragilar
Copy link
Owner

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 29, 2022

Build succeeded:

@bors bors bot merged commit eb883e4 into master Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants